package com.ttsx.pojo.converter;

import com.ttsx.pojo.dto.user.UserRegisterDTO;
import com.ttsx.pojo.entity.User;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author wb
 * @since 2025-03-03
 */

@Mapper
public interface UserConverter {
    UserConverter INSTANCE = Mappers.getMapper(UserConverter.class);

    User toEntity(UserRegisterDTO userRegisterDTO);

}
